<h1>Editing <%=h @sector.name %></h1>

<% form_tag('/admin/sectorupdate') do -%>
  <%= text_field 'sector', 'name' %>
  <%= hidden_field 'sector', 'id' %>
  <%= submit_tag 'Save' %>
  <%= link_to 'Back', :action => 'index' %>
<% end -%>